package com.mk.admin.controller;

import com.mk.admin.model.ResultDto;
import com.mk.admin.model.query.AdminLogQuery;
import com.mk.admin.model.vo.AdminLogVo;
import com.mk.admin.service.AdminLogService;
import io.swagger.annotations.Api;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/a/adm/adminLog")
@Api(tags = "日志操作记录")
public class AdminLogController {
    @Autowired
    private AdminLogService adminLogService;
    @PostMapping("/select")
    public ResultDto select(@RequestBody AdminLogQuery query){
        return adminLogService.select(query);
    }
}
